<#if apiVars.importAnnotationClassDefineArea?has_content>
${abs.importAnnotationClassDefineAreaStartMark}
${apiVars.importAnnotationClassDefineArea}
${abs.importAnnotationClassDefineAreaEndMark}
<#else>
${abs.importAnnotationClassDefineAreaStartMark}
package ${apiVars.packageName};

import ${bizRequestDTOVars.packageName}.${entity}BizRequestDTO;
import ${bizResponseDTOVars.packageName}.${entity}BizResponseDTO;

import com.xieyang.inner.common.rpc.XRequest;
import com.xieyang.inner.common.rpc.XResponse;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
* <p>
* ${table.comment!}-接口定义
* </p>
*
*/
@RequestMapping("/api")
public interface ${entity}Api {
${abs.importAnnotationClassDefineAreaEndMark}
</#if>

    @ApiOperation(value = "${table.comment!}-业务")
    @PostMapping(value = "/${entity?substring(0,1)?lower_case + entity?substring(1)}/biz")
    XResponse<${entity}BizResponseDTO> biz(@RequestBody XRequest<${entity}BizRequestDTO> request);

    ${abs.customerAreaStartMark}
${apiVars.customerArea}
    ${abs.customerAreaEndMark}

}